import Vue from "vue";
import VueRouter from "vue-router";
import RouterModule from "./modules";
import RouterCommon from "./common";
// import Home from "../views/Home.vue";

Vue.use(VueRouter);

//     component: () => import(/* webpackChunkName: "news" */ "@/views/News.vue"),

const router = new VueRouter({
  mode: "history",
  routes: [...RouterCommon, ...RouterModule],
});

export default router;
